package com.dly.blog.domain.vo;

import com.dly.blog.domain.ro.menu.RouterQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "MetaVO", description = "路由元信息")
public class MetaVO {

    @Schema(name = "i18nKey", description = "国际名称")
    private String i18nKey;

    @Schema(name = "icon", description = "图标")
    private String icon;

    @Schema(name = "order", description = "排序")
    private Integer order;

    @Schema(name = "title", description = "标题")
    private String title;

    @Schema(description = "是否缓存路由")
    private Integer keepAlive;

    @Schema(description = "是否是常量路由")
    private Integer constant;

    @Schema(description = "外部链接")
    private String href;

    @Schema(description = "是否在菜单中隐藏")
    private Integer hideInMenu;

    @Schema(description = "路由不在菜单中 但是需要选中一个菜单")
    private String activeMenu;

    @Schema(description = "是否是多tap页")
    private Integer multiTab;

    @Schema(description = "固定位置")
    private Integer fixedIndexInTab;

    @Schema(description = "路径参数")
    private List<RouterQuery> query;
}
